/*
 * Licensed to Jasig under one or more contributor license
 * agreements. See the NOTICE file distributed with this work
 * for additional information regarding copyright ownership.
 * Jasig licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file
 * except in compliance with the License.  You may obtain a
 * copy of the License at the following location:
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
* {
    margin: 0;
    padding: 0;
}

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    font-size: 12px;
    background: #fff;
    min-width: 320px;
    height: 100%;
}

img {
    border: 0
}

a {
    text-decoration: none;
    color: #666;
}

a:hover {
    cursor: pointer;
}

a:focus {
    outline: 0;
}

ul, li {
    list-style: none;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.tl {
    text-align: left;
}

.tc {
    text-align: center;
}

.tr {
    text-align: right;
}

h1 {
    font-size: 18px;
}

h2 {
    font-size: 16px;
}

h3 {
    font-size: 14px;
}

h4 {
    font-size: 12px;
}

i, em {
    font-style: normal;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

textarea {
    overflow: auto;
    vertical-align: top;
}

table {
    /*border-collapse:collapse;*/
    border-spacing: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}

.wrapper {
    width: 1190px;
    margin: 0 auto;
    position: relative;
}

.container {
    width: 100%;
    min-width: 1000px;
}

.hide {
    display: none;
}

.show {
    display: block;
}

.f_underline {
    text-decoration: underline;
}

.pt15 {
    padding-top: 15px;
}

.w320 {
    width: 320px;
}

.w180 {
    width: 180px;
}

.pl20 {
    padding-left: 20px;
}

#container {
    width: 100%;
    margin: 0 auto;
}

/*
@media only screen and (max-width: 960px) { 
  #container { width: 100%; }
  #content { -webkit-border-bottom-right-radius: 0px; -webkit-border-bottom-left-radius: 0px; -moz-border-radius-bottomright: 0px; -moz-border-radius-bottomleft: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; } 
}
*/
header {
    padding-top: 10px;
}

header #logo {
    display: block;
    width: 118px;
    height: 31px;
    text-indent: -999em;
    background: url(../../images/ja-sig-logo.gif) no-repeat;
    margin: 0 0 10px 10px;
}

header h1 {
    background: #210F7A;
    color: white;
    padding: 1.4em 1.4em;
    font-size: 2em;
    font-weight: normal;
}

#content {
    overflow: hidden;
}

#msg {
    padding: 20px;
    margin-bottom: 10px;
}

#msg h2 {
    font-size: 1.4em;
    margin-bottom: 0.5em;
}

#msg.errors {
    border: 1px dotted #BB0000;
    color: #BB0000;
    padding-left: 100px;
    background: url(../../images/error.gif) no-repeat 20px center;
}

#msg.success {
    border: 1px dotted #390;
    color: #390;
    padding-left: 100px;
    background: url(../../images/confirm.gif) no-repeat 20px center;
}

#msg.info {
    border: 1px dotted #008;
    color: #008;
    padding-left: 100px;
    background: url(../../images/info.gif) no-repeat 20px center;
}

#msg.question {
    border: 1px dotted #390;
    color: #390;
    padding-left: 100px;
    background: url(../../images/question.png) no-repeat 20px center;
}

#login {
    width: 320px;
    float: left;
    margin-right: 20px;
}

#fm1 {
    padding: 50px 20px;;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#fm1 h2 {
    font-size: 1.4em;
    font-weight: normal;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #DDDDDD;
}

#fm1 .row {
    margin-bottom: 10px;
    width: 680px;
    margin: 0 auto;
    padding: 5px 0;
    position: relative;
}

#fm1 .row label {
    display: inline-block;
    color: #777777;
    width: 150px;
    text-align: right;
    padding-right: 10px;
    font-size: 16px;
}

#fm1 .row label[class=error] {
    margin-left: 10px;
    display: inline;
    width: 200px;
}

#fm1 .row input[type=text],
#fm1 .row input[type=password] {
    padding: 6px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #DDDDDD;
    width: 300px;
    height: 35px;
    font-size: 16px;
    box-sizing: border-box;
}

#fm1 .row input.codetext {
    width: 170px;
}

#fm1 .row .codeimg {
    width: 101px;
    height: 31px;
    padding-left: 10px;
    vertical-align: middle;
}

#fm1 .row .login-btn {
    position: absolute;
    top: 0;
    left: 163px;
    width: 150px;
    height: 35px;
    line-height: 35px;
    background: #FF771C;
    color: #fff;
    font-size: 16px;
    text-align: center;
}

#fm1 .row.check {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #DDDDDD;
    color: #777;
    font-size: 11px;
}

#fm1 .row.check label {
    display: inline;
}

#fm1 .row .btn-submit {
    border-width: 2px;
    padding: 3px;
    margin-right: 4px;
    position: relative;
    z-index: 3;
    width: 150px;
    height: 35px;
    opacity: 0;
}

#fm1 .row .btn-reset {
    border: 0;
    background: none;
    color: #777;
    text-transform: lowercase;
    border-left: 1px solid #ddd;
}

#fm1 .row .btn-submit:hover,
#fm1 .row .btn-reset:hover {
    cursor: pointer;
}

#sidebar {
    width: auto;
}

#sidebar .sidebar-content {
    padding-left: 20px;
}

#sidebar .sidebar-content p {
    margin-bottom: 1.4em;
}

#list-languages ul {
    list-style: none;
}

#list-languages ul li {
    display: inline-block;
    padding: 0px 10px;
    border-right: 1px solid #e2e2e2;
}

#list-languages ul li:last-child {
    border: 0;
    line-height: 1.4em;
}

/*@media only screen and (max-width: 960px) {
  footer { padding-left: 10px; }
}
*/
@media only screen and (max-width: 799px) {
    #fm1 .row {
        width: 100%;
    }

    #fm1 .row label {
        display: none;
    }

    #fm1 .row input.required {
        width: 100%;
    }

    #fm1 .row .btn-submit {
        width: 100%;
    }

    #fm1 .row .login-btn {
        width: 100%;
        left: 0;
    }

    #fm1 .row input.codetext {
        width: 60%;
    }
}

.account-info {
    width: 1188px;
    border: 1px solid #cdcdcd;
    margin: 80px auto 200px;
    box-shadow: 0 0 10px #ddd;
}

.account-info h3 {
    height: 54px;
    line-height: 54px;
    text-align: center;
    font-size: 20px;
    color: #ff7719;
    background: #f8f8f8;
    border-bottom: 1px solid #ccc;
}